package org.feng.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

/**
 * 代码生成表
 *
 * @author : FengShuai
 * @since : 2024/6/27 9:24
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("sys_generate")
@Schema(name = "代码生成表")
public class SysGenerate extends Model<SysGenerate> implements Serializable {

    private static final long serialVersionUID = 1L;
    @Schema(name = "代码生成表")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;
    @Schema(name = "菜单id")
    private String menuId;
    @Schema(name = "表前缀")
    private String tablePrefix;
    @Schema(name = "表名")
    private String tableName;
    @Schema(name = "包名")
    private String packageName;
    @Schema(name = "模块名称")
    private String module;
    @Schema(name = "是否继承父类")
    private Boolean parent;
}
